<?php use application\Comm\Func;
use library\Core\Config;?>

<link rel="stylesheet" href="<?php echo Func::staticUrl('css/help.css?v=2017') ?>">
<div class="help wrap">
    <div class="nav_link">
        <a href="<?=Func::createUrl('help/view',['id'=>1]) ?>">服务中心</a> >
        <a class="act" href="javascript:;"><?= $name ?  $name : '关于我们';?> </a>
    </div>
    <div class="box">
        <div class="box_l">
      <?php foreach ($help_category_id as $hk =>$hv){?>
            <div class="gaine">
            
                <div class="about_wrap">
                    <h3 class="tit" style="padding-top: 15px;height: 30px;"><i class="<?= Config::getParamsVal('HELP_CATEGORY_IMG')[$hk]; ?>"></i><?php echo $hv?></h3>
                </div>
                <ul>
               		<?php foreach ($help_list[$hk] as $k => $v){?>
                   	 <li <?php if ($id == $v['id'])echo 'class="act"';?>><a href="<?=Func::createUrl('help/view',['id'=>$v['id'],'name'=>$hv]) ?>"><?php echo $v['name']?>  ></a></li>
                    <?php }?>
                </ul>
            </div>
          <?php }?>
        </div>
        <div class="box_r">
            <p><?php echo $data['content'];?></p>
        </div>
    </div>
</div>